package cn.golxen.blog.commons.rabbitVo;

import cn.golxen.blog.commons.utils.RabbitMQTemplate;
import cn.golxen.blog.entity.Essay;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
public class AddRedisEssayListVo extends RabbitMQTemplate {

    String page;
    String total;
    List<Essay> list;

    public AddRedisEssayListVo(String page, String total, List<Essay> list) {
        super("addRedisEssayList","EssayKey");
        this.page = page;
        this.total = total;
        this.list = list;
    }
}
